From: Richard M. Stallman Date: Sun, 23 May 1993 22:41:44 +0000 (+0000) Subject: (Fcurrent_time_zone): Make `am' an int, not long. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96066 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=00fc94d02f2e98068a8b9f64f3fad3ca553c00a8;p=emacs.git (Fcurrent_time_zone): Make `am' an int, not long. --- diff --git a/src/editfns.c b/src/editfns.c index 30d165ece61..69a045b8341 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -660,7 +660,7 @@ the data it can't find.") if (!s) { /* No local time zone name is available; use "+-NNNN" instead. */ - long am = (offset < 0 ? -offset : offset) / 60; + int am = (offset < 0 ? -offset : offset) / 60; sprintf (buf, "%c%02d%02d", (offset < 0 ? '-' : '+'), am/60, am%60); s = buf; }